﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Freedom.Models.Interfaces;
using Freedom.Models.Services;

namespace Freedom.Models.ViewModels 
{
    /// <summary>
    /// 首页视图模型
    /// autor: Penn Yao
    /// </summary>
    public class HomeViewModel : BaseViewModel
    {
        public HomeViewModel()
        {
            if (subscribeInfo == null)
            {
                subscribeInfo = new tb_SubscribeInfo();
                subscribeInfo.Email = "请输入您的邮箱";
            }
        }

        /// <summary>
        /// 广告信息列表
        /// </summary>
        public List<tb_AdInfo> adInfoList { get; set; }

        /// <summary>
        /// 服务信息列表
        /// </summary>
        public List<tb_ServiceInfo> serviceInfoList { get; set; }

        /// <summary>
        /// 订阅信息列表
        /// </summary>
        public tb_SubscribeInfo subscribeInfo { get; set; }
    }
}